<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<table class="t_css table01" width="100%" border="0" cellpadding="0"  cellspacing="1" id="fzr_msg">
	<col style="width:10%"/>
	<col style="width:23%"/>
	<col style="width:10%"/>
	<col style="width:23%"/>
	<col style="width:10%"/>
	<col style="width:24%"/>
	<tr>
		<td colspan="6" class="t_bar2">项目负责人</td>
	</tr>
	<tr>
		<td  align="right" >姓名：</td>
		<td  colspan="">
			<x:out select="$xmlData/data/proposal/fzr_psnname" />
		</td>
		<td  align="right" >性别：</td>
		<td  colspan="">
			<c:set var="gender_value"><x:out select="$xmlData/data/proposal/gender_value" /></c:set>
			<c:choose>
				<c:when test="${gender_value=='M' }">
					<c:set var="gender_name" value="男"></c:set>
				</c:when>
				<c:otherwise>
					<c:set var="gender_name" value="女"></c:set>
				</c:otherwise>	
			</c:choose>
			${gender_name }
		</td>
		<td  align="right" >出生年月：</td>
		<td  colspan="">
			<x:out select="$xmlData/data/proposal/fzr_birthday" />
		</td>
	</tr>
	
	<tr class="">
		<td   align="right" >学历：</td>
		<td >
            <x:out select="$xmlData/data/proposal/fzr_degree_name" />
		</td>
		<td  align="right" nowrap>职务：</td>
		<td >
	         <x:out select="$xmlData/data/proposal/position" />
		</td>
		<td  align="right" nowrap>职称：</td>
		<td >
	         <x:out select="$xmlData/data/proposal/fzr_prof_title_name" />
		</td>
	</tr>
	<tr class="">
		<td align="right">从事专业：</td>
		<td colspan="3">
			<x:out select="$xmlData/data/proposal/fzr_major" />
		</td>
		<td align="right">手机：</td>
		<td>
			<c:set var="mobile"><x:out select="$xmlData/data/proposal/mobile" /></c:set>
		    <c:if test="${empty mobile }"><c:set var="mobile"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></c:set></c:if>
			${mobile }
		</td>
	</tr>
	<tr>
		<td colspan="6">
			<pre><x:out select="$xmlData/data/proposal/summer_fzr" /></pre>
		</td>
	</tr>
</table>
<br/>

<div class="t_bar">
	  项目参与成员
</div>
	<table  id="persons" border="0" cellspacing="0" cellpadding="0" class="table01" >
		<thead>
			<tr>
                <th nowrap>序号</th>
				<th width="13%">姓名</th>
				<th width="9%">出生年月</th>
				<th width="5%">性别</th>
				<th width="11%">从事专业</th>
				<th width="10%">职称</th>
				<th width="10%">学历</th>
				<th width="20%">所在单位</th>
				<th width="20%" nowrap="nowrap">项目分工</th>
			</tr>
		</thead>
		<tbody id="tab">
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/persons/zh_person" var="zh_person">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td align="center">
						<span>${index+1}</span>
					</td>
					<td >
						<x:out select="$zh_person/basic_info/zh_name" />
					</td>
					<td align="center">
						<x:out select="$zh_person/basic_info/birthday" />
					</td>
					<td align="center">
							<c:set var="gender_value"><x:out select="$zh_person/basic_info/gender_value" /></c:set>
							<c:set var="gender_name"><x:out select="$zh_person/basic_info/gender_name" /></c:set>
							<c:choose>
								<c:when test="${empty gender_name }">
									<c:if test="${gender_value eq 'M' }">男</c:if>
									<c:if test="${gender_value eq 'F' }">女</c:if>
								</c:when>
								<c:otherwise>${gender_name }</c:otherwise>
							</c:choose>	
					</td>
					<td >					
						<x:out select="$zh_person/contact/major_work" />
					</td>
					<td align="center">
						<x:out select="$zh_person/basic_info/prof_title_name" />
					</td>
					<td align="center"> 
						<x:out select="$zh_person/basic_info/educate_name" />
					</td>
					<td >
						<x:out select="$zh_person/basic_info/org_name" />
					</td>
					<td >
						<x:out select="$zh_person/basic_info/work" />
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			</tbody>
	</table>
	
	

	 